/*
 * @Author: miteng 973203639@qq.com
 * @Date: 2024-06-21 16:28:28
 * @LastEditors: 郝奔 1425466221@qq.com
 * @LastEditTime: 2024-07-15 15:50:03
 * @Description:全部注释
 * Copyright (c) 2024-present HBIS Digital Technology Co.,Ltd. All rights reserved.
 */
/*
 * @Author: yuanqingqing 1194367511@qq.com
 * @Date: 2023-12-20 14:36:55
 * @LastEditors: yuanqingqing 1194367511@qq.com
 * @LastEditTime: 2024-06-19 13:58:36
 * @Description: 
 * Copyright (c) 2024-present HBIS Digital Technology Co.,Ltd. All rights reserved. 
 */
// export namespace Table {
//   export interface Pageable {
//     pageNo: number;
//     pageSize: number;
//     totalRows?: number;
//     total?: number;
//   }
//   export interface TableStateProps {
//     tableData: any[];
//     loading: boolean;
//     pageable: Pageable;
//     searchParam: {
//       [key: string]: any;
//     };
//     searchColumnParam: {
//       [key: string]: any;
//     },
//     searchInitParam: {
//       [key: string]: any;
//     };
//     totalParam: {
//       [key: string]: any;
//     };
//     icon?: {
//       [key: string]: any;
//     };
//   }
// }

// export namespace HandleData {
//   export type MessageType = '' | 'success' | 'warning' | 'info' | 'error';
// }
export interface Table {
    Pageable: {
        pageNo: number;
        pageSize: number;
        totalRows?: number;
        total?: number;
    };
    TableStateProps: {
        tableData: unknown[]; // Use 'unknown' if you don't have a specific type, or define a more specific type
        loading: boolean;
        pageable: Table['Pageable'];
        searchParam: Record<string, unknown>; // Use 'Record' instead of index signature
        searchColumnParam: Record<string, unknown>;
        searchInitParam: Record<string, unknown>;
        totalParam: Record<string, unknown>;
        icon?: Record<string, unknown>;
    };
}

// If you want to export the interfaces separately, you can do it like this:
export type TablePageable = Table['Pageable'];
export type TableTableStateProps = Table['TableStateProps'];